package com.jimmy.nonweb.base;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

@Service
public class PropertiesService {

    @Value("${spring.application.name}")
    private String appName;

    @Value("${app.version:none}")
    private String version;

    public String getAppName() {
        return appName;
    }

    public String getVersion() {
        return version;
    }

}
